package com.test.google.app.service;

import java.io.IOException;
import java.util.List;

import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.EntityNotFoundException;
import com.test.google.app.domain.SyncFileTask;

public interface SyncFileTaskService {
	
	void delete(long id);
	
	List<SyncFileTask> ListAll();
	
	Entity getById(long id) throws EntityNotFoundException;

	void syncFile(SyncFileTask task) throws IOException;

	void add(SyncFileTask task);
	
	void update(SyncFileTask task);

}
